//
//  ZHTJDetectManager.h
//  ZHTJFaceDemo
//
//  Created by thinkjoy on 2017/1/7.
//  Copyright © 2017年 杜瑞胜. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZHTJFaceSetModel.h"
#import "ZHTJFaceError.h"

@interface ZHTJDetectManager : NSObject

#pragma 检测人脸

/**
 人脸区域检测

 @param img 分辨率小于1920*1920带有人脸的图片
 @param isAge 是否检测年龄特征,默认为NO
 @param isGender 是否检测性别特征,默认为NO
 @param completionHandler 回调
 */
+ (void)tj_DetectImage:(UIImage *)img isAge:(BOOL)isAge isGender:(BOOL)isGender completionHandler:(void (^)(NSArray<ZHTJFaceFeaturesModel *> *faceFeatureMDAry,ZHTJFaceError *  error))completionHandler;

@end
